package com.songlin.houxin.admin.api.dto;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author jinYuLinLang
 * @version 1.0.0
 * @ClassName ChannelUpdateDTO.java
 * @Description <p></p>
 * @createTime 2022-03-12 11:37:00
 */
@Data
@ApiModel(value = "渠道表")
public class ChannelUpdateDTO implements Serializable {
    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    @NotNull(message = "主键")
    private Integer id;

    /**
     * 渠道名称
     */
    @ApiModelProperty(value = "渠道名称")
    @NotBlank(message = "渠道名称不能为空")
    private String name;

}
